package vip.xiaonuo.vein.modular.veinpalmdeviceuserrelate.enums;

import vip.xiaonuo.core.exception.enums.abs.AbstractBaseExceptionEnum;


public enum VeinPalmDeviceRelateStatusEnum implements AbstractBaseExceptionEnum {

    /**
     * 数据不存在
     */
    ADD(1, "新增"),
    UPDATE(2, "修改"),
    ADD_FAIL(3, "新增失败"),
    UPDATE_FAIL(4, "修改失败"),
    DONE(5, "完成");


    private final Integer code;

    private final String message;
    VeinPalmDeviceRelateStatusEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    @Override
    public Integer getCode() {
        return code;
    }

    @Override
    public String getMessage() {
        return message;
    }
}
